package li.webqq.ui;

import li.http.CookieStore;

/**
 * @author 明伟
 */
public class Container {
    private static final ThreadLocal<Container> CONTAINER_LOCAL = new ThreadLocal<Container>();

    static {
        CONTAINER_LOCAL.set(new Container());
    }

    private CookieStore cookieStore = new CookieStore();

    public static CookieStore getCookieStore() {
        return CONTAINER_LOCAL.get().cookieStore;
    }
}